//
//  UIView+Test.m
//
//  Created by 赵梁 on 8/20/15.
//  Copyright (c) 2015 zify. All rights reserved.
//

#import "UIView+Test.h"
#import "UIColor+Random.h"

@implementation UIView(Test)

- (void)testSubviewsBorder
{
    self.layer.borderWidth = 1;
    self.layer.borderColor = [UIColor randomColor].CGColor;
    for (UIView *view in self.subviews) {
        [view testSubviewsBorder];
    }
}

@end
